/**
 * @author jekyllxv
 */


public class PointGame {

    public static void main(String[] args){

        int a = 5;
        int b = 4;
        int a1 = 3;
        int b1 = 2;
        int[][] dp = new int[a+1][b+1];

        for(int i=0;i<=a;i++){
            dp[i][0] = 1;
        }
        for(int j = 0;j<=b;j++){
            dp[0][j] = 1;
        }
        for(int i = 1;i<=a;i++){
            for(int j=1;j<=b;j++){
                dp[i][j] = dp[i][j-1]+dp[i-1][j];
                if(i == a1&&j==b1){
                    dp[i][j] = 0;
                }
                System.out.println("i:"+ i+",j:"+j + ",data:"+dp[i][j]);
            }
        }

    }
}
